/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.plechinger.mcremote.data;

import java.io.Serializable;

/**
 *
 * @author Lukas
 */
public class Response implements Serializable {

    private static long serialVersionUID = 1L;
    private ResponseStatus status;
    private String message;
    private RequestMethod method;
    private Object responseObject;

    public Response() {
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public ResponseStatus getStatus() {
        return status;
    }

    public void setStatus(ResponseStatus status) {
        this.status = status;
    }

    public Object getResponseObject() {
        return responseObject;
    }

    public void setResponseObject(Object responseObject) {
        this.responseObject = responseObject;
    }

    public RequestMethod getMethod() {
        return method;
    }

    public void setMethod(RequestMethod method) {
        this.method = method;
    }

    @Override
    public String toString() {
        return "Response{" + "status=" + status + ", message=" + message + ", method=" + method + ", responseObject=" + responseObject + '}';
    }
}
